var arr = new Array();

function check(){
    for (var obj in window)
    {
        try {
            if ("getClass" in window[obj]) {
                try{
                    window[obj].getClass();
                    arr.push(obj);
                } catch(e){
                }
            }
        } catch(e) {
        }
    }
}
check();
vuln = arr.join(" ");

var request = new XMLHttpRequest();
request.open("POST", window.location, false);
request.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
request.send("vuln_js_interface: "+ vuln);

